package com.sinosoft.system.primary.dao;

import java.util.List;

import com.sinosoft.system.primary.entity.SysRoleMenu;
   
   /**
    * @ClassName SysRoleMenuDao dao接口类
    * @date 2017-2-9 
    * @author shangxp
    */  


public interface SysRoleMenuDao {
	public int insertSysRoleMenu(SysRoleMenu sysRoleMenu);
	public int updateSysRoleMenu(SysRoleMenu sysRoleMenu);
	public int deleteSysRoleMenu(int id);
	public SysRoleMenu selectSysRoleMenu(int id);
	public SysRoleMenu selectSysRoleMenu(List<String> queryKeys,List<Object> queryValues);
	public int selectCountSysRoleMenu();
	public int selectCountSysRoleMenu(List<String> queryKeys,List<Object> queryValues);
	public List<SysRoleMenu> selectLimitSysRoleMenu(int start,int size);
	public List<SysRoleMenu> selectLimitSysRoleMenu(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<SysRoleMenu> selectAllSysRoleMenu();
	public List<SysRoleMenu> selectAllSysRoleMenu(List<String> queryKeys,List<Object> queryValues);
}